package com.woniu51.zuul;

import com.woniu.common.core.redis.RedisCache;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.Import;

/**
 * @author 杨光
 * @date 2022年03月28日 15:51
 */
@SpringBootApplication
@EnableZuulProxy
@EnableDiscoveryClient
@Import(value = {RedisCache.class})
public class ZuulApp {

    public static void main(String[] args) {
        SpringApplication.run(ZuulApp.class,args);
    }
}
